-
Home
-
MyRewards – Loyalty Points and Rewards for WooCommerce – Reward orders, referrals, product reviews and more
-
5.0.5
-
Code
-
Classes
- Collection
Total Complexity |
87 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
353 |
Lines of code |
221 |
Logical lines of code |
132 |
Comment lines |
59 |
Methods |
30 |
Properties |
1 |
Methods 30
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
findKey() |
B |
48 |
17 |
32 |
getNewName() |
A |
50 |
8 |
28 |
add() |
S |
63 |
8 |
9 |
getRefByName() |
S |
59 |
5 |
15 |
getRef() |
S |
64 |
6 |
9 |
uniqueName() |
S |
59 |
4 |
15 |
filter() |
S |
63 |
3 |
10 |
byCategory() |
S |
63 |
3 |
9 |
update() |
S |
67 |
3 |
7 |
apply() |
S |
72 |
2 |
5 |
delete() |
S |
70 |
2 |
6 |
remove() |
S |
64 |
2 |
10 |
last() |
S |
70 |
2 |
6 |
first() |
S |
73 |
2 |
5 |
count() |
S |
78 |
2 |
3 |
lastRef() |
S |
69 |
2 |
6 |
firstRef() |
S |
72 |
2 |
5 |
findRef() |
S |
72 |
2 |
5 |
load() |
S |
100 |
1 |
0 |
create() |
S |
100 |
1 |
0 |
map() |
S |
79 |
1 |
3 |
asArray() |
S |
80 |
1 |
3 |
find() |
S |
80 |
1 |
3 |
get() |
S |
80 |
1 |
3 |
getByName() |
S |
80 |
1 |
3 |
getKeys() |
S |
80 |
1 |
3 |
instanciate() |
S |
76 |
1 |
4 |
usort() |
S |
76 |
1 |
4 |
nullGuard() |
S |
74 |
1 |
5 |
falseGuard() |
S |
74 |
1 |
5 |